package cn.com.hhrcw.validator.constraints;

import cn.com.hhrcw.validator.ResumeRequiredValidation;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

/**
 * @author leeson
 */
@Documented
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(
    validatedBy = ResumeRequiredValidation.class
)
public @interface ResumeRequired {
    String message() default "";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
